<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:54:"D:\www\tp7./application/houtai\view\userip\userip.html";i:1533193329;s:54:"D:\www\tp7./application/houtai\view\public\header.html";i:1504938710;}*/ ?>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title>樱桃的站点后台管理系统</title>  
<link rel="shortcut icon" href="__INDEX__/images/favicon.ico">
<link rel="stylesheet" href="__HOUTAI__/css/pintuer.css">
<link rel="stylesheet" href="__HOUTAI__/css/admin.css">

<script src="__HOUTAI__/js/jquery-2.1.4.min.js"></script>
<script src="__HOUTAI__/js/layer.js"></script>


<script src="__HOUTAI__/js/jquery.validate.js"></script>
<script src="__HOUTAI__/js/additional-methods.js"></script>
<script src="__HOUTAI__/js/messages_zh.js"></script>
<!-- 字体图标文件CSS -->
<link rel="stylesheet" type="text/css" href="//at.alicdn.com/t/font_394272_s1c3jukr7t10dx6r.css">
<!-- 字体图标文件js -->
<script type="text/javascript" src="//at.alicdn.com/t/font_394272_s1c3jukr7t10dx6r.js"></script>


<!-- <script type="text/javascript" src="http://malsup.github.io/jquery.form.js"></script> -->

</head>
<body>
<div class="panel admin-panel">
<div class="panel-head"><strong class="icon-menu"> 来访用户IP</strong></div>
<form method="post" action="" id="listform">
    <table class="table table-hover text-center">
      <tr>
        <th width="100" style="text-align:left; padding-left:20px;">ID</th>
        <th>国家</th>
        <th>简称</th>
        <th>省份</th>
        <th>市区</th>
        <th>乡县</th>
        <th>邮编</th>
        <th>运营商</th>
        <th width="10%">IP地址</th>
        <th width="310">来访时间</th>
      </tr>
      <?php if(is_array($userips) || $userips instanceof \think\Collection || $userips instanceof \think\Paginator): $i = 0; $__LIST__ = $userips;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <tr>
          <td style="text-align:left; padding-left:20px; padding-top: 20px; padding-bottom: 20px;"><?php echo $vo['id']; ?></td>
          <td><?php echo $vo['country']; ?></td>
          <td><?php echo $vo['country_id']; ?></td>
          <td><?php echo $vo['region']; ?></td>
          <td><?php echo $vo['city']; ?></td>
          <td><?php echo $vo['county']; ?></td>
          <td><?php if(($vo['county_id'] != 0)): ?> <?php echo $vo['county_id']; else: ?> <?php echo $vo['city_id']; endif; ?></td>
          <td><?php echo $vo['isp']; ?></td>
          <td><?php echo $vo['ip']; ?></td>
          <td><?php echo date('Y-m-d',$vo['time']); ?></td>
        </tr>
        <?php endforeach; endif; else: echo "" ;endif; ?>
    </table>
  </div>
  <?php echo $userips->render(); ?>
</form>
</body>
</html>